import React from 'react';

interface IPropsBallsOnFavoriteOnUserPage {
    favoritesBalls:IPropsOneFavoriteBall
}

interface IPropsOneFavoriteBall {
    id: number,
        name: string,
        image: string,
        price: number,
        count: number,
        title: string,
        description: string,
        favorite: false,
        user: {
            email: string,
            fullName: string,
            id: number
    }
}

export const BallsOnFavorite = ({favoritesBalls}: IPropsBallsOnFavoriteOnUserPage) => {
	return (
		<div>
			<p>Имя</p>{favoritesBalls.name}
			<img />
			<Button>Удалить</Button>
		</div>
	);
};
